package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预警处置业务对象 zj_warning_disposal
 *
 * @author zyb
 * @date 2024-03-14
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ZjWarningDisposalBo extends BaseEntity {

    /**
     * 主键id
     */
//    @NotNull(message = "主键id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 预警信息表id
     */
    @NotBlank(message = "预警信息表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String warningId;

    /**
     * 处置状态
     */
    @NotNull(message = "处置状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer status;

    /**
     * 处置说明
     */
//    @NotBlank(message = "处置说明不能为空", groups = { AddGroup.class, EditGroup.class })
    private String disposalInstructions;

    /**
     * 处置人
     */
//    @NotBlank(message = "处置人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String disposer;

    /**
     * 附件URL
     */
//    @NotBlank(message = "附件URL不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fileUrl;

    /**
     * 图片URL
     */
    private String imgUrl;

    /**
     * 预警类别
     */
    @NotBlank(message = "预警类别不能为空", groups = { AddGroup.class, EditGroup.class })
    private String warningType;

    /**
     * 处置时间
     */
//    @NotNull(message = "处置时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date handleTime;

    /**
     * 确认时间
     */
//    @NotNull(message = "确认时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date confirmTime;

    /**
     * 所属公司ID
     */
//    @NotNull(message = "所属公司ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;


    /**
     * 审核意见
     */
    private String approvalOpinions;

    /**
     * 更新操作1撤回
     */
    private String operation;


}
